// 类的访问修饰符
// public protected private
class girl {
  public sex: string = '女'
  protected name: string = '美女'
  private age: number = 18
}

// 只读修饰符 readonly
class Man {
  readonly sex: string = '男'
}
let m: Man = new Man()
// 报错
// m.sex = '女'

export {}